/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jili.ubert.code.client2server;

/**
 *
 * @author ChengJiLi
 */
import com.baidu.bjf.remoting.protobuf.Codec;
import com.baidu.bjf.remoting.protobuf.ProtobufProxy;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import java.io.IOException;
import java.util.List;

public class RegistPriceMsg {

    @Protobuf
    private String marketCode;

    @Protobuf
    private List<String> objList;

    public static byte[] EnCode(RegistPriceMsg msg) throws IOException {
        Codec Lcode = ProtobufProxy.create(RegistPriceMsg.class);
        return Lcode.encode(msg);
    }

    public static RegistPriceMsg DeCode(byte[] data) throws IOException {
        Codec Lcode = ProtobufProxy.create(RegistPriceMsg.class);
        return (RegistPriceMsg) Lcode.decode(data);
    }

    public List<String> getObjList() {
        return this.objList;
    }

    public void setObjList(List<String> objList) {
        this.objList = objList;
    }

    public String getMarketCode() {
        return marketCode;
    }

    public void setMarketCode(String marketCode) {
        this.marketCode = marketCode;
    }
}
